﻿using System.ComponentModel;
using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[XmlInclude(typeof(ParallelGateway))]
[XmlInclude(typeof(InclusiveGateway))]
[XmlInclude(typeof(ExclusiveGateway))]
[XmlInclude(typeof(EventBasedGateway))]
[XmlInclude(typeof(ComplexGateway))]
[Serializable]
[XmlType("http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tGateway")]
public partial class Gateway : FlowNode
{
    /// <remarks/>
    [XmlAttribute("gatewayDirection")]
    [DefaultValue(GatewayDirection.Unspecified)]
    public GatewayDirection GatewayDirection { get; set; } = GatewayDirection.Unspecified;
}
